// 文件模型
export const FileModel = {
  id: '',
  name: '',
  type: '',
  content: null,
  size: 0,
  createTime: '',
  updateTime: '',
  creator: '',
  isFavorite: false,
  isDeleted: false,
  status: 'active', // active, deleted
  tags: [],
  permissions: {
    canRead: true,
    canWrite: true,
    canShare: true,
    canDelete: true
  }
}

// 用户模型
export const UserModel = {
  id: '',
  username: '',
  email: '',
  avatar: '',
  role: 'user', // admin, user
  status: 'active', // active, disabled
  createTime: '',
  lastLoginTime: '',
  settings: {
    theme: 'light',
    language: 'zh',
    notifications: true
  },
  membership: {
    level: 'free', // free, premium, enterprise
    expireTime: '',
    features: []
  }
}

// 会员套餐模型
export const MembershipPlanModel = {
  id: '',
  name: '',
  price: 0,
  duration: 30, // 天数
  features: [],
  description: '',
  isPopular: false,
  maxFiles: 0,
  maxStorage: 0, // MB
  discount: 0
}

// 支付记录模型
export const PaymentModel = {
  id: '',
  userId: '',
  planId: '',
  amount: 0,
  status: 'pending', // pending, success, failed
  paymentMethod: '',
  createTime: '',
  completeTime: '',
  orderNo: '',
  description: ''
}

// 通知模型
export const NotificationModel = {
  id: '',
  userId: '',
  type: '', // system, payment, feature
  title: '',
  content: '',
  isRead: false,
  createTime: '',
  readTime: '',
  link: '',
  priority: 'normal' // high, normal, low
}

// 操作日志模型
export const LogModel = {
  id: '',
  userId: '',
  action: '',
  target: '',
  targetType: '',
  createTime: '',
  ip: '',
  device: '',
  status: 'success', // success, failed
  details: {}
}

// 导出所有模型
export default {
  FileModel,
  UserModel,
  MembershipPlanModel,
  PaymentModel,
  NotificationModel,
  LogModel
} 